//====================================================================
// This file is generated as part of Web project conversion.
// The extra class 'ExcelReportInfo' in the code behind file in 'common\downloadbarhelper\ExcelHost.aspx.cs' is moved to this file.
//====================================================================


using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using PHSRAG.Insight21.Context;
using PHSRAG.WebControls;


namespace PHSRAG.Insight21.Common.DownloadBarHelper
 {


	public struct ExcelReportInfo 
	{
		#region Private Variables
		private string reportName;
		private string reportControlFilePath;
		private int recordCount;
        private string recordCountVisible;
		private string searchCriteria;
        private string keyToSearchCriteriaObject;
		private int fundCount;
		#endregion

		#region Public Properties
		/// <summary>
		/// Gets or Sets report name to display in the report. 
		/// </summary>
		public string ReportName 
		{
			get
			{
				return reportName == null ? string.Empty : reportName;
			}
			set
			{
				reportName = value;
			}
		}
		/// <summary>
		/// Gets or Sets ReportControlFilePath for the user control used to define the report.
		/// </summary>
		public string ReportControlFilePath
		{
			get
			{
				 if (reportControlFilePath == null) 
					 throw new Exception("Report User Control FilePath was not specified");
				return reportControlFilePath;
			}
			set
			{
				reportControlFilePath = value;
			}
		}
		/// <summary>
		/// Gets or Sets Record count to display in the report.
		/// </summary>
		public int RecordCount {
			get
			{
				return recordCount;
			}
			set
			{
				recordCount = value;
			}
		
		}
        /// <summary>
        /// Gets or Sets Record count Visible to display in the report.
        /// Implemented to eliminate "Record Count" Label on the PersonnelDetaile Report.
        /// 10/16/2007 - TrackIt 7285 - JML.
        /// </summary>
        public string RecordCountVisible
        {
            get
            {
                return recordCountVisible;
            }
            set
            {
                recordCountVisible = value;
            }

        }
        /// <summary>
		/// Gets or Sets Fund count to display in the report.
		/// </summary>
		public int FundCount 
		{
			get
			{
				return fundCount;
			}
			set
			{
				fundCount = value;
			}
		
		}
		/// <summary>
		/// Gets or sets search criteria to display in the report.
		/// </summary>
		public string SearchCriteria {
			get
			{
				return searchCriteria == null ? string.Empty : searchCriteria;
			}
			set
			{
				searchCriteria = value;
			}		
		}

        /// <summary>
        /// Gets or sets search criteria to display in the report.
        /// </summary>
        public string KeyToSearchCriteriaObject
        {
            get
            {
                return keyToSearchCriteriaObject == null ? string.Empty : keyToSearchCriteriaObject;
            }
            set
            {
                keyToSearchCriteriaObject = value;
            }
        }
		#endregion

	}

}